JchOptimize\Core\Html\LinkBuilder A

Total Complexity 72
Dependencies 22
Dependents 3
Total lines 364
Lines of code 212
Logical lines of code 129
Comment lines 70
Methods 25
Properties 7

Methods 25

Method Rating Maintainability Complexity Lines of code
replaceLinks()
A
46 9 36
buildUrl()
A
50 8 26
createStaticFiles()
S
53 7 20
addDeferredJs()
S
61 5 12
getPreloadLink()
S
64 5 7
isGZ()
S
75 4 3
getFormattedHtmlAttribute()
S
72 3 4
postProcessHtml()
S
71 3 5
preProcessHtml()
S
71 3 5
getNewJsLink()
S
70 3 5
loadCssAsync()
S
65 3 9
__construct()
S
61 2 12
appendAsyncScriptsToHead()
S
71 2 6
addExcludedJsToSection()
S
65 2 8
appendChildToHead()
S
65 2 8
cleanScript()
S
69 2 6
setImgAttributes()
S
74 1 4
prependChildToHead()
S
73 1 4
getPreloadStyleSheet()
S
73 1 4
appendChildToHTML()
S
64 1 9
addJsLazyLoadAssetsToHtml()
S
71 1 5
getNewCssLink()
S
80 1 3
getPreconnectLink()
S
74 1 4
getModulePreloadLink()
S
80 1 3
addCriticalCssToHead()
S
73 1 4